package org.example.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.example.pojo.IhrStaff;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author chenhongkai
* @description 针对表【ihr_staff】的数据库操作Mapper
* @createDate 2025-10-20 16:40:34
* @Entity org.example.pojo.IhrStaff
*/
public interface IhrStaffMapper extends BaseMapper<IhrStaff> {

    /**
     * 查询所有员工信息
     * @return 员工列表
     */
    List<IhrStaff> selectAllStaff();

    /**
     * 根据员工ID查询员工信息
     * @param staffId 员工ID
     * @return 员工信息
     */
    IhrStaff selectStaffById(@Param("staffId") String staffId);


}




